package com.example.library.myRecyclerview.base;


/**
 * Created by zhy on 16/6/22.
 */
public interface ItemViewDelegate<T>
{

    int getItemViewLayoutId();

    // TODO: 2018/8/13 如有需要，自己定义state，返回View的状态
    boolean isForViewType(T item, int position);

    void convert(ViewHolder holder, T t, int position);

}
